/**
 * 收费计划
 */

import request from "@/utils/request.js"

// 获取收费计划列表
export function getChargeplanListApi(params) {
  return request({
    url: '/admin/chargePlan/list',
    method: 'POST',
    params
  })
}

// 添加
export function addChargeplanApi(params) {
  return request({
    url: '/admin/chargePlan/add',
    method: 'POST',
    params
  })
}

// 编辑
export function editChargeplanApi(params) {
  return request({
    url: '/admin/chargePlan/edit',
    method: 'POST',
    params
  })
}

// 删除
export function delChargeplanApi(params) {
  return request({
    url: '/admin/chargePlan/remove',
    method: 'POST',
    params
  })
}

// 根据id查询详情数据
export function getDetailApi(params) {
  return request({
    url: '/admin/chargePlan/chargePlanId',
    method: 'POST',
    params
  })
}